const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})
module.exports = {
  devServer: {
    proxy: {
      '/FinancialRecommend': {
        target: 'http://localhost:8888',//代理的目标地址
        changeOrigin: true,//是否改变请求源地址
        PathRewrite: {
          '^/FinancialRecommend': '/FinancialRecommend'//重写请求路径，将api代替为FinancialRecommend
        }
      }
    }
  }
}
